<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="style.css">
    <title>datepicker</title>
    <style>
        .datepicker{
            border:1px solid #ccc;
            border-radius: 4px;
            padding: 5px;
            height: 24px;
            line-height: 24px;
            width:230px;
        }
        .datepicker:focus{
            outline: 0 none;
            border: 1px solid #1abc9c;
        }
    </style>
</head>
<body>
    <input type="text" class="datepicker"/>

    <script type="text/javascript" src="data.js"></script>
    <script type="text/javascript" src="main.js"></script>

    <script>
       /* var monthData = datepicker.getMonthData(2016,12);
        console.log(monthData);*/
//       datepicker.init(document.querySelector('.ui-datepicker-wrapper'));
        datepicker.init('.datepicker');
    </script>
</body>
</html>